/ TextGen / TextGenLib / Replacements / SortName


Parameters
Compare - The Compare object.
CompareTo - The CompareTo object.

Returns

The integer that indicates the order relationship of the objects.

Syntax

JavaScript
static SortName(compare, compareTo)

Sorts the collection on the Replacement.Name property.

Remarks

A negative integer - This instance precedes the compare-to object.
Zero - This instance and the compare-to object have the same position.
A postive integer - This instance follows the compare-to object.

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.